How to ignore printing None Object in python

welcome to shbcf.ru